package  com.tongji.housediy.events.commonEvent
{
	import flash.events.Event;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */	
	public class GridContainerEvent extends Event
	{
		public static const START_MOVE_UP:String = "startMoveUp";
		public static const START_MOVE_DOWN:String = "startMoveDown";
		public static const START_MOVE_RIGHT:String = "startMoveRight";
		public static const START_MOVE_LEFT:String = "startMoveLeft";
		public static const RETRIEVE_GRID_CONTAINER:String = "retrieveGridContainer";
		public static const STOP_MOVE:String = "stopMove";
		public static const UPDATE_GRID_SCALE:String = "gridScale";
		public static const UPDATE_SCROLL_VALUE:String = "updateScrollValue"; 
		
		public var scaleMultiple:int;
		public var isWheel:Boolean; 
		
		/**
		 * 
		 * @param type
		 * @param scaleMultiple
		 * @param isWheel
		 * 
		 */		
		public function GridContainerEvent(type:String, scaleMultiple:int = 0, isWheel:Boolean = false)
		{
			super(type);
			this.scaleMultiple = scaleMultiple;
			this.isWheel = isWheel;
		}
		
		override public function clone():Event
		{
			return new GridContainerEvent(type, scaleMultiple, isWheel);
		}
	}
}